SQLAlchemy query to dict

36

SQLAlchemy query to dict -

for u in session.query(User).all():
    print u.__dict__

Comments

Submit
0 Comments